﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Optimization;

namespace Workbasket
{
    public class BundleConfig
    {
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                "~/Scripts/jquery-{version}.js",
               "~/Scripts/jquery.validate.js",
                "~/Scripts/jquery-ui-{version}.js",
                 "~/Scripts/toastr.js",
                 "~/Scripts/jsTree3/jstree.js"
                ));


 

            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                "~/Scripts/modernizr-*"));

            bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
                "~/Scripts/bootstrap.js",
                "~/Scripts/respond.js"));

            bundles.Add(new ScriptBundle("~/bundles/core").Include(
              "~/Scripts/app/NameSpace.js",
              "~/Scripts/app/base/RepositoryBase.js",
              "~/Scripts/app/Entity/*.js",
              "~/Scripts/app/Repository/*.js"));

            bundles.Add(new ScriptBundle("~/bundles/ng").Include(
                 "~/Scripts/angular.js" 
                ));


            bundles.Add(new StyleBundle("~/Content/css").Include(
                 "~/Content/bootstrap.css",
                 "~/Content/Site.css",
                "~/Content/toastr.css",
                "~/Scripts/jsTree3/themes/default/style.css",
                "~/Content/font-awesome.css"));

            bundles.Add(new StyleBundle("~/Content/themes/base/css").Include(
              "~/Content/themes/base/jquery.ui.core.css",
              "~/Content/themes/base/jquery.ui.resizable.css",
              "~/Content/themes/base/jquery.ui.selectable.css",
              "~/Content/themes/base/jquery.ui.accordion.css",
              "~/Content/themes/base/jquery.ui.autocomplete.css",
              "~/Content/themes/base/jquery.ui.button.css",
              "~/Content/themes/base/jquery.ui.dialog.css",
              "~/Content/themes/base/jquery.ui.slider.css",
              "~/Content/themes/base/jquery.ui.tabs.css",
              "~/Content/themes/base/jquery.ui.datepicker.css",
              "~/Content/themes/base/jquery.ui.progressbar.css",
              "~/Content/themes/base/jquery.ui.theme.css"));
        }
    }
}
